<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <span th:include="~{include::mystyle}"></span>
</head>
<body>
    <div class="container">
      <form class="form-horizontal" th:action="@{/login}" method="post" role="form">


          <div class="col-sm-2">
            账号：<input type="text" class="form-control" id="username" name="username" placeholder="账号">
          </div>



          <div class="col-sm-2">
            密码：<input type="password" class="form-control" id="password" placeholder="密码" name="password">
          </div>

<!--        <div class="form-group">-->
<!--          <label for="chkcode" class="col-sm-2 control-label">验证码</label>-->
<!--          <div class="col-sm-4">-->
<!--            <input type="password" class="form-control" id="chkcode" placeholder="验证码" name="chkcode">-->
<!--            <img th:src="@{/captchaImg}" width="100" height="30" alt="验证码" onclick="this.src='/captcha?'+Math.random()">-->
<!--          </div>-->
<!--        </div>-->
        <div class="form-group">
          <div class="col-sm-offset-2 col-sm-10">
            <div class="checkbox">
              <label>
                <input type="checkbox"> 记住我
              </label>
            </div>
          </div>
        </div>
        <div class="form-group">
          <div class="col-sm-offset-2 col-sm-4">
            <button class="btn btn-success">登录</button>
          </div>
        </div>
      </form>
      <div class="col-sm-offset-2 col-sm-4">
        <a href="/register">注册</a>
        <a th:href="@{/mlogin}">短信登录</a>
      </div>
      <span th:utext="${msg}"></span>
    </div>
</body>
</html>
